import type { LZIZY_Video, LZIZY_Video_Base } from "$lib/api/lzizy/interface";

export let appState = $state<{
	channelList: Array<Array<LZIZY_Video>>,
	searchList: Array<LZIZY_Video_Base>,
	playItem: LZIZY_Video|null,
	channelIndex: number,
	playIndex: number
	searchName: string;
}>({
	channelList: [[],[],[],[]],
	searchList: [],
	playItem: null,
	channelIndex: 0,
	playIndex: 0,
	searchName: "搜索"
});
